<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>

<f:loadBundle basename="demo.bundle.Messages" var="msg"/>

<html>
<head>
<title>Semantic CBR Code Search</title> 
<style type="text/css">
.odd-row {
    background-color: #ECF3FE;
}
.even-row {
    background-color: #FCFFFE;
}
.active-row {
    background-color: #FFEBDA;
}

.cell { 
	width: 200px;
	vertical-align:top;
}

.rsTitle { 
	padding: 5px;

	font-weight: bold;
	font-variant: small-caps;

	background-color: #E0ECF8;
	background-repeat: repeat-x;
	background-position: center;
}

.rsPanel {
	top: auto;
}

.rsLabel {
	font-size: 12px;
}

.rsInput {
	size: 220px;
	border-style: solid;
	border-width: 1px;
}

.rsButton {
	border-width: 2px;
	border-style: outset; 
	vertical-align: middle;
}

</style>
</head>
<body>
<f:subview id="projectLoaderForm">
	<a4j:form>
		<rich:panel>
			<h:panelGrid columns="2" width="100%">
				<!-- columna izquierda -->
				<h:panelGrid columns="1" width="90%">
			
				</h:panelGrid>
				<!-- columna derecha -->
				<h:panelGrid columns="1" width="10%">
					<a4j:commandButton id="botonCargar" styleClass="rsButton" value="#{msg.plForm_button_upload}" action="#{projectBean.upload}" />
					<a4j:commandButton id="botonSalir" styleClass="rsButton" value="#{msg.plForm_button_exit}" action="#{projectBean.exit}" />
				</h:panelGrid>
			</h:panelGrid>
		</rich:panel>
	</a4j:form>
</f:subview>
</body>
</html>
